﻿<!DOCTYPE html>
<html>
<head>
    <title>break语句使用示例</title>
    <script type="text/javascript">
        stop: {
            for (let row = 1; row <= 10; ++row) {
                for (let column = 1; column <= 6; ++column) {
                    if (row === 5)
                        break stop;
                    document.write(" * ");
                }
                document.write("<p>");
            }
            document.write("这行无法显示");
        }
        document.write("结束script 语句");   
    </script>
</head>
</html>

